using System;
using IDAL;
using Model;

namespace BLL
{
    public class TestModifyLog : BaseService<TestModifyLogInfo>
    {
        private static readonly ITestModifyLog dal = DALFactory.DataAccess.CreateTestModifyLog();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public TestModifyLogInfo GetTestModifyLog(string productSN,DateTime testTime)
        {
            if (string.IsNullOrEmpty(productSN))
                return null;
            return dal.GetTestModifyLog(productSN, testTime);
        }
   } 
}
